/*
 * XML Type:  SourceType
 * Namespace: http://www.data-archive.ac.uk/dext/schema/draft
 * Java type: uk.da.dext.SourceType
 *
 * Automatically generated - do not modify.
 */
package uk.da.dext.impl;
/**
 * An XML SourceType(@http://www.data-archive.ac.uk/dext/schema/draft).
 *
 * This is a complex type.
 */
public class SourceTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements uk.da.dext.SourceType
{
    private static final long serialVersionUID = 1L;
    
    public SourceTypeImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ID$0 = 
        new javax.xml.namespace.QName("", "id");
    private static final javax.xml.namespace.QName CDATE$2 = 
        new javax.xml.namespace.QName("", "cdate");
    private static final javax.xml.namespace.QName MDATE$4 = 
        new javax.xml.namespace.QName("", "mdate");
    private static final javax.xml.namespace.QName CREATOR$6 = 
        new javax.xml.namespace.QName("", "creator");
    private static final javax.xml.namespace.QName LABEL$8 = 
        new javax.xml.namespace.QName("", "label");
    private static final javax.xml.namespace.QName DISPLAYLABEL$10 = 
        new javax.xml.namespace.QName("", "displayLabel");
    private static final javax.xml.namespace.QName LANGUAGE$12 = 
        new javax.xml.namespace.QName("", "language");
    private static final javax.xml.namespace.QName SEQUENCE$14 = 
        new javax.xml.namespace.QName("", "sequence");
    private static final javax.xml.namespace.QName SIZE$16 = 
        new javax.xml.namespace.QName("", "size");
    private static final javax.xml.namespace.QName LOCATION$18 = 
        new javax.xml.namespace.QName("", "location");
    private static final javax.xml.namespace.QName LOCTYPE$20 = 
        new javax.xml.namespace.QName("", "locType");
    private static final javax.xml.namespace.QName OTHERLOCTYPE$22 = 
        new javax.xml.namespace.QName("", "otherLocType");
    private static final javax.xml.namespace.QName CHECKSUMTYPE$24 = 
        new javax.xml.namespace.QName("", "checksumType");
    private static final javax.xml.namespace.QName OTHERCHECKSUMTYPE$26 = 
        new javax.xml.namespace.QName("", "otherCheckSumType");
    private static final javax.xml.namespace.QName CHECKSUMVALUE$28 = 
        new javax.xml.namespace.QName("", "checksumValue");
    private static final javax.xml.namespace.QName MIMETYPE$30 = 
        new javax.xml.namespace.QName("", "mimeType");
    private static final javax.xml.namespace.QName RESOURCETYPE$32 = 
        new javax.xml.namespace.QName("", "resourceType");
    private static final javax.xml.namespace.QName OTHERRESOURCETYPE$34 = 
        new javax.xml.namespace.QName("", "otherResourceType");
    
    
    /**
     * Gets the "id" attribute
     */
    public java.lang.String getId()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "id" attribute
     */
    public org.apache.xmlbeans.XmlID xgetId()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlID target = null;
            target = (org.apache.xmlbeans.XmlID)get_store().find_attribute_user(ID$0);
            return target;
        }
    }
    
    /**
     * Sets the "id" attribute
     */
    public void setId(java.lang.String id)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$0);
            }
            target.setStringValue(id);
        }
    }
    
    /**
     * Sets (as xml) the "id" attribute
     */
    public void xsetId(org.apache.xmlbeans.XmlID id)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlID target = null;
            target = (org.apache.xmlbeans.XmlID)get_store().find_attribute_user(ID$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlID)get_store().add_attribute_user(ID$0);
            }
            target.set(id);
        }
    }
    
    /**
     * Gets the "cdate" attribute
     */
    public java.util.Calendar getCdate()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CDATE$2);
            if (target == null)
            {
                return null;
            }
            return target.getCalendarValue();
        }
    }
    
    /**
     * Gets (as xml) the "cdate" attribute
     */
    public org.apache.xmlbeans.XmlDateTime xgetCdate()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDateTime target = null;
            target = (org.apache.xmlbeans.XmlDateTime)get_store().find_attribute_user(CDATE$2);
            return target;
        }
    }
    
    /**
     * True if has "cdate" attribute
     */
    public boolean isSetCdate()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(CDATE$2) != null;
        }
    }
    
    /**
     * Sets the "cdate" attribute
     */
    public void setCdate(java.util.Calendar cdate)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CDATE$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CDATE$2);
            }
            target.setCalendarValue(cdate);
        }
    }
    
    /**
     * Sets (as xml) the "cdate" attribute
     */
    public void xsetCdate(org.apache.xmlbeans.XmlDateTime cdate)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDateTime target = null;
            target = (org.apache.xmlbeans.XmlDateTime)get_store().find_attribute_user(CDATE$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlDateTime)get_store().add_attribute_user(CDATE$2);
            }
            target.set(cdate);
        }
    }
    
    /**
     * Unsets the "cdate" attribute
     */
    public void unsetCdate()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(CDATE$2);
        }
    }
    
    /**
     * Gets the "mdate" attribute
     */
    public java.util.Calendar getMdate()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MDATE$4);
            if (target == null)
            {
                return null;
            }
            return target.getCalendarValue();
        }
    }
    
    /**
     * Gets (as xml) the "mdate" attribute
     */
    public org.apache.xmlbeans.XmlDateTime xgetMdate()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDateTime target = null;
            target = (org.apache.xmlbeans.XmlDateTime)get_store().find_attribute_user(MDATE$4);
            return target;
        }
    }
    
    /**
     * True if has "mdate" attribute
     */
    public boolean isSetMdate()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(MDATE$4) != null;
        }
    }
    
    /**
     * Sets the "mdate" attribute
     */
    public void setMdate(java.util.Calendar mdate)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MDATE$4);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(MDATE$4);
            }
            target.setCalendarValue(mdate);
        }
    }
    
    /**
     * Sets (as xml) the "mdate" attribute
     */
    public void xsetMdate(org.apache.xmlbeans.XmlDateTime mdate)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDateTime target = null;
            target = (org.apache.xmlbeans.XmlDateTime)get_store().find_attribute_user(MDATE$4);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlDateTime)get_store().add_attribute_user(MDATE$4);
            }
            target.set(mdate);
        }
    }
    
    /**
     * Unsets the "mdate" attribute
     */
    public void unsetMdate()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(MDATE$4);
        }
    }
    
    /**
     * Gets the "creator" attribute
     */
    public java.lang.String getCreator()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CREATOR$6);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "creator" attribute
     */
    public org.apache.xmlbeans.XmlString xgetCreator()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CREATOR$6);
            return target;
        }
    }
    
    /**
     * True if has "creator" attribute
     */
    public boolean isSetCreator()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(CREATOR$6) != null;
        }
    }
    
    /**
     * Sets the "creator" attribute
     */
    public void setCreator(java.lang.String creator)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CREATOR$6);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CREATOR$6);
            }
            target.setStringValue(creator);
        }
    }
    
    /**
     * Sets (as xml) the "creator" attribute
     */
    public void xsetCreator(org.apache.xmlbeans.XmlString creator)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CREATOR$6);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(CREATOR$6);
            }
            target.set(creator);
        }
    }
    
    /**
     * Unsets the "creator" attribute
     */
    public void unsetCreator()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(CREATOR$6);
        }
    }
    
    /**
     * Gets the "label" attribute
     */
    public java.lang.String getLabel()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LABEL$8);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "label" attribute
     */
    public org.apache.xmlbeans.XmlString xgetLabel()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(LABEL$8);
            return target;
        }
    }
    
    /**
     * True if has "label" attribute
     */
    public boolean isSetLabel()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(LABEL$8) != null;
        }
    }
    
    /**
     * Sets the "label" attribute
     */
    public void setLabel(java.lang.String label)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LABEL$8);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(LABEL$8);
            }
            target.setStringValue(label);
        }
    }
    
    /**
     * Sets (as xml) the "label" attribute
     */
    public void xsetLabel(org.apache.xmlbeans.XmlString label)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(LABEL$8);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(LABEL$8);
            }
            target.set(label);
        }
    }
    
    /**
     * Unsets the "label" attribute
     */
    public void unsetLabel()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(LABEL$8);
        }
    }
    
    /**
     * Gets the "displayLabel" attribute
     */
    public java.lang.String getDisplayLabel()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DISPLAYLABEL$10);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "displayLabel" attribute
     */
    public org.apache.xmlbeans.XmlString xgetDisplayLabel()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DISPLAYLABEL$10);
            return target;
        }
    }
    
    /**
     * True if has "displayLabel" attribute
     */
    public boolean isSetDisplayLabel()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(DISPLAYLABEL$10) != null;
        }
    }
    
    /**
     * Sets the "displayLabel" attribute
     */
    public void setDisplayLabel(java.lang.String displayLabel)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DISPLAYLABEL$10);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DISPLAYLABEL$10);
            }
            target.setStringValue(displayLabel);
        }
    }
    
    /**
     * Sets (as xml) the "displayLabel" attribute
     */
    public void xsetDisplayLabel(org.apache.xmlbeans.XmlString displayLabel)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DISPLAYLABEL$10);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(DISPLAYLABEL$10);
            }
            target.set(displayLabel);
        }
    }
    
    /**
     * Unsets the "displayLabel" attribute
     */
    public void unsetDisplayLabel()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(DISPLAYLABEL$10);
        }
    }
    
    /**
     * Gets the "language" attribute
     */
    public java.lang.String getLanguage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LANGUAGE$12);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "language" attribute
     */
    public org.apache.xmlbeans.XmlLanguage xgetLanguage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlLanguage target = null;
            target = (org.apache.xmlbeans.XmlLanguage)get_store().find_attribute_user(LANGUAGE$12);
            return target;
        }
    }
    
    /**
     * True if has "language" attribute
     */
    public boolean isSetLanguage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(LANGUAGE$12) != null;
        }
    }
    
    /**
     * Sets the "language" attribute
     */
    public void setLanguage(java.lang.String language)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LANGUAGE$12);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(LANGUAGE$12);
            }
            target.setStringValue(language);
        }
    }
    
    /**
     * Sets (as xml) the "language" attribute
     */
    public void xsetLanguage(org.apache.xmlbeans.XmlLanguage language)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlLanguage target = null;
            target = (org.apache.xmlbeans.XmlLanguage)get_store().find_attribute_user(LANGUAGE$12);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlLanguage)get_store().add_attribute_user(LANGUAGE$12);
            }
            target.set(language);
        }
    }
    
    /**
     * Unsets the "language" attribute
     */
    public void unsetLanguage()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(LANGUAGE$12);
        }
    }
    
    /**
     * Gets the "sequence" attribute
     */
    public int getSequence()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SEQUENCE$14);
            if (target == null)
            {
                return 0;
            }
            return target.getIntValue();
        }
    }
    
    /**
     * Gets (as xml) the "sequence" attribute
     */
    public org.apache.xmlbeans.XmlInt xgetSequence()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInt target = null;
            target = (org.apache.xmlbeans.XmlInt)get_store().find_attribute_user(SEQUENCE$14);
            return target;
        }
    }
    
    /**
     * True if has "sequence" attribute
     */
    public boolean isSetSequence()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(SEQUENCE$14) != null;
        }
    }
    
    /**
     * Sets the "sequence" attribute
     */
    public void setSequence(int sequence)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SEQUENCE$14);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SEQUENCE$14);
            }
            target.setIntValue(sequence);
        }
    }
    
    /**
     * Sets (as xml) the "sequence" attribute
     */
    public void xsetSequence(org.apache.xmlbeans.XmlInt sequence)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInt target = null;
            target = (org.apache.xmlbeans.XmlInt)get_store().find_attribute_user(SEQUENCE$14);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlInt)get_store().add_attribute_user(SEQUENCE$14);
            }
            target.set(sequence);
        }
    }
    
    /**
     * Unsets the "sequence" attribute
     */
    public void unsetSequence()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(SEQUENCE$14);
        }
    }
    
    /**
     * Gets the "size" attribute
     */
    public long getSize()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SIZE$16);
            if (target == null)
            {
                return 0L;
            }
            return target.getLongValue();
        }
    }
    
    /**
     * Gets (as xml) the "size" attribute
     */
    public org.apache.xmlbeans.XmlLong xgetSize()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlLong target = null;
            target = (org.apache.xmlbeans.XmlLong)get_store().find_attribute_user(SIZE$16);
            return target;
        }
    }
    
    /**
     * True if has "size" attribute
     */
    public boolean isSetSize()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(SIZE$16) != null;
        }
    }
    
    /**
     * Sets the "size" attribute
     */
    public void setSize(long size)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SIZE$16);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SIZE$16);
            }
            target.setLongValue(size);
        }
    }
    
    /**
     * Sets (as xml) the "size" attribute
     */
    public void xsetSize(org.apache.xmlbeans.XmlLong size)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlLong target = null;
            target = (org.apache.xmlbeans.XmlLong)get_store().find_attribute_user(SIZE$16);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlLong)get_store().add_attribute_user(SIZE$16);
            }
            target.set(size);
        }
    }
    
    /**
     * Unsets the "size" attribute
     */
    public void unsetSize()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(SIZE$16);
        }
    }
    
    /**
     * Gets the "location" attribute
     */
    public java.lang.String getLocation()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LOCATION$18);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "location" attribute
     */
    public org.apache.xmlbeans.XmlAnyURI xgetLocation()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlAnyURI target = null;
            target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(LOCATION$18);
            return target;
        }
    }
    
    /**
     * Sets the "location" attribute
     */
    public void setLocation(java.lang.String location)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LOCATION$18);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(LOCATION$18);
            }
            target.setStringValue(location);
        }
    }
    
    /**
     * Sets (as xml) the "location" attribute
     */
    public void xsetLocation(org.apache.xmlbeans.XmlAnyURI location)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlAnyURI target = null;
            target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(LOCATION$18);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(LOCATION$18);
            }
            target.set(location);
        }
    }
    
    /**
     * Gets the "locType" attribute
     */
    public uk.da.dext.SourceType.LocType.Enum getLocType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LOCTYPE$20);
            if (target == null)
            {
                return null;
            }
            return (uk.da.dext.SourceType.LocType.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "locType" attribute
     */
    public uk.da.dext.SourceType.LocType xgetLocType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            uk.da.dext.SourceType.LocType target = null;
            target = (uk.da.dext.SourceType.LocType)get_store().find_attribute_user(LOCTYPE$20);
            return target;
        }
    }
    
    /**
     * True if has "locType" attribute
     */
    public boolean isSetLocType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(LOCTYPE$20) != null;
        }
    }
    
    /**
     * Sets the "locType" attribute
     */
    public void setLocType(uk.da.dext.SourceType.LocType.Enum locType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LOCTYPE$20);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(LOCTYPE$20);
            }
            target.setEnumValue(locType);
        }
    }
    
    /**
     * Sets (as xml) the "locType" attribute
     */
    public void xsetLocType(uk.da.dext.SourceType.LocType locType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            uk.da.dext.SourceType.LocType target = null;
            target = (uk.da.dext.SourceType.LocType)get_store().find_attribute_user(LOCTYPE$20);
            if (target == null)
            {
                target = (uk.da.dext.SourceType.LocType)get_store().add_attribute_user(LOCTYPE$20);
            }
            target.set(locType);
        }
    }
    
    /**
     * Unsets the "locType" attribute
     */
    public void unsetLocType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(LOCTYPE$20);
        }
    }
    
    /**
     * Gets the "otherLocType" attribute
     */
    public java.lang.String getOtherLocType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OTHERLOCTYPE$22);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "otherLocType" attribute
     */
    public org.apache.xmlbeans.XmlString xgetOtherLocType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(OTHERLOCTYPE$22);
            return target;
        }
    }
    
    /**
     * True if has "otherLocType" attribute
     */
    public boolean isSetOtherLocType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(OTHERLOCTYPE$22) != null;
        }
    }
    
    /**
     * Sets the "otherLocType" attribute
     */
    public void setOtherLocType(java.lang.String otherLocType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OTHERLOCTYPE$22);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OTHERLOCTYPE$22);
            }
            target.setStringValue(otherLocType);
        }
    }
    
    /**
     * Sets (as xml) the "otherLocType" attribute
     */
    public void xsetOtherLocType(org.apache.xmlbeans.XmlString otherLocType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(OTHERLOCTYPE$22);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(OTHERLOCTYPE$22);
            }
            target.set(otherLocType);
        }
    }
    
    /**
     * Unsets the "otherLocType" attribute
     */
    public void unsetOtherLocType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(OTHERLOCTYPE$22);
        }
    }
    
    /**
     * Gets the "checksumType" attribute
     */
    public uk.da.dext.SourceType.ChecksumType.Enum getChecksumType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CHECKSUMTYPE$24);
            if (target == null)
            {
                return null;
            }
            return (uk.da.dext.SourceType.ChecksumType.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "checksumType" attribute
     */
    public uk.da.dext.SourceType.ChecksumType xgetChecksumType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            uk.da.dext.SourceType.ChecksumType target = null;
            target = (uk.da.dext.SourceType.ChecksumType)get_store().find_attribute_user(CHECKSUMTYPE$24);
            return target;
        }
    }
    
    /**
     * True if has "checksumType" attribute
     */
    public boolean isSetChecksumType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(CHECKSUMTYPE$24) != null;
        }
    }
    
    /**
     * Sets the "checksumType" attribute
     */
    public void setChecksumType(uk.da.dext.SourceType.ChecksumType.Enum checksumType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CHECKSUMTYPE$24);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CHECKSUMTYPE$24);
            }
            target.setEnumValue(checksumType);
        }
    }
    
    /**
     * Sets (as xml) the "checksumType" attribute
     */
    public void xsetChecksumType(uk.da.dext.SourceType.ChecksumType checksumType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            uk.da.dext.SourceType.ChecksumType target = null;
            target = (uk.da.dext.SourceType.ChecksumType)get_store().find_attribute_user(CHECKSUMTYPE$24);
            if (target == null)
            {
                target = (uk.da.dext.SourceType.ChecksumType)get_store().add_attribute_user(CHECKSUMTYPE$24);
            }
            target.set(checksumType);
        }
    }
    
    /**
     * Unsets the "checksumType" attribute
     */
    public void unsetChecksumType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(CHECKSUMTYPE$24);
        }
    }
    
    /**
     * Gets the "otherCheckSumType" attribute
     */
    public java.lang.String getOtherCheckSumType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OTHERCHECKSUMTYPE$26);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "otherCheckSumType" attribute
     */
    public org.apache.xmlbeans.XmlString xgetOtherCheckSumType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(OTHERCHECKSUMTYPE$26);
            return target;
        }
    }
    
    /**
     * True if has "otherCheckSumType" attribute
     */
    public boolean isSetOtherCheckSumType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(OTHERCHECKSUMTYPE$26) != null;
        }
    }
    
    /**
     * Sets the "otherCheckSumType" attribute
     */
    public void setOtherCheckSumType(java.lang.String otherCheckSumType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OTHERCHECKSUMTYPE$26);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OTHERCHECKSUMTYPE$26);
            }
            target.setStringValue(otherCheckSumType);
        }
    }
    
    /**
     * Sets (as xml) the "otherCheckSumType" attribute
     */
    public void xsetOtherCheckSumType(org.apache.xmlbeans.XmlString otherCheckSumType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(OTHERCHECKSUMTYPE$26);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(OTHERCHECKSUMTYPE$26);
            }
            target.set(otherCheckSumType);
        }
    }
    
    /**
     * Unsets the "otherCheckSumType" attribute
     */
    public void unsetOtherCheckSumType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(OTHERCHECKSUMTYPE$26);
        }
    }
    
    /**
     * Gets the "checksumValue" attribute
     */
    public java.lang.String getChecksumValue()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CHECKSUMVALUE$28);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "checksumValue" attribute
     */
    public org.apache.xmlbeans.XmlString xgetChecksumValue()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CHECKSUMVALUE$28);
            return target;
        }
    }
    
    /**
     * True if has "checksumValue" attribute
     */
    public boolean isSetChecksumValue()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(CHECKSUMVALUE$28) != null;
        }
    }
    
    /**
     * Sets the "checksumValue" attribute
     */
    public void setChecksumValue(java.lang.String checksumValue)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CHECKSUMVALUE$28);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CHECKSUMVALUE$28);
            }
            target.setStringValue(checksumValue);
        }
    }
    
    /**
     * Sets (as xml) the "checksumValue" attribute
     */
    public void xsetChecksumValue(org.apache.xmlbeans.XmlString checksumValue)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CHECKSUMVALUE$28);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(CHECKSUMVALUE$28);
            }
            target.set(checksumValue);
        }
    }
    
    /**
     * Unsets the "checksumValue" attribute
     */
    public void unsetChecksumValue()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(CHECKSUMVALUE$28);
        }
    }
    
    /**
     * Gets the "mimeType" attribute
     */
    public java.lang.String getMimeType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MIMETYPE$30);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "mimeType" attribute
     */
    public org.apache.xmlbeans.XmlString xgetMimeType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(MIMETYPE$30);
            return target;
        }
    }
    
    /**
     * True if has "mimeType" attribute
     */
    public boolean isSetMimeType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(MIMETYPE$30) != null;
        }
    }
    
    /**
     * Sets the "mimeType" attribute
     */
    public void setMimeType(java.lang.String mimeType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MIMETYPE$30);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(MIMETYPE$30);
            }
            target.setStringValue(mimeType);
        }
    }
    
    /**
     * Sets (as xml) the "mimeType" attribute
     */
    public void xsetMimeType(org.apache.xmlbeans.XmlString mimeType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(MIMETYPE$30);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(MIMETYPE$30);
            }
            target.set(mimeType);
        }
    }
    
    /**
     * Unsets the "mimeType" attribute
     */
    public void unsetMimeType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(MIMETYPE$30);
        }
    }
    
    /**
     * Gets the "resourceType" attribute
     */
    public uk.da.dext.SourceType.ResourceType.Enum getResourceType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RESOURCETYPE$32);
            if (target == null)
            {
                return null;
            }
            return (uk.da.dext.SourceType.ResourceType.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "resourceType" attribute
     */
    public uk.da.dext.SourceType.ResourceType xgetResourceType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            uk.da.dext.SourceType.ResourceType target = null;
            target = (uk.da.dext.SourceType.ResourceType)get_store().find_attribute_user(RESOURCETYPE$32);
            return target;
        }
    }
    
    /**
     * Sets the "resourceType" attribute
     */
    public void setResourceType(uk.da.dext.SourceType.ResourceType.Enum resourceType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RESOURCETYPE$32);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(RESOURCETYPE$32);
            }
            target.setEnumValue(resourceType);
        }
    }
    
    /**
     * Sets (as xml) the "resourceType" attribute
     */
    public void xsetResourceType(uk.da.dext.SourceType.ResourceType resourceType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            uk.da.dext.SourceType.ResourceType target = null;
            target = (uk.da.dext.SourceType.ResourceType)get_store().find_attribute_user(RESOURCETYPE$32);
            if (target == null)
            {
                target = (uk.da.dext.SourceType.ResourceType)get_store().add_attribute_user(RESOURCETYPE$32);
            }
            target.set(resourceType);
        }
    }
    
    /**
     * Gets the "otherResourceType" attribute
     */
    public java.lang.String getOtherResourceType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OTHERRESOURCETYPE$34);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "otherResourceType" attribute
     */
    public org.apache.xmlbeans.XmlString xgetOtherResourceType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(OTHERRESOURCETYPE$34);
            return target;
        }
    }
    
    /**
     * True if has "otherResourceType" attribute
     */
    public boolean isSetOtherResourceType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(OTHERRESOURCETYPE$34) != null;
        }
    }
    
    /**
     * Sets the "otherResourceType" attribute
     */
    public void setOtherResourceType(java.lang.String otherResourceType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OTHERRESOURCETYPE$34);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OTHERRESOURCETYPE$34);
            }
            target.setStringValue(otherResourceType);
        }
    }
    
    /**
     * Sets (as xml) the "otherResourceType" attribute
     */
    public void xsetOtherResourceType(org.apache.xmlbeans.XmlString otherResourceType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(OTHERRESOURCETYPE$34);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(OTHERRESOURCETYPE$34);
            }
            target.set(otherResourceType);
        }
    }
    
    /**
     * Unsets the "otherResourceType" attribute
     */
    public void unsetOtherResourceType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(OTHERRESOURCETYPE$34);
        }
    }
    /**
     * An XML locType(@).
     *
     * This is an atomic type that is a restriction of uk.da.dext.SourceType$LocType.
     */
    public static class LocTypeImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements uk.da.dext.SourceType.LocType
    {
        private static final long serialVersionUID = 1L;
        
        public LocTypeImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType, false);
        }
        
        protected LocTypeImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
        {
            super(sType, b);
        }
    }
    /**
     * An XML checksumType(@).
     *
     * This is an atomic type that is a restriction of uk.da.dext.SourceType$ChecksumType.
     */
    public static class ChecksumTypeImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements uk.da.dext.SourceType.ChecksumType
    {
        private static final long serialVersionUID = 1L;
        
        public ChecksumTypeImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType, false);
        }
        
        protected ChecksumTypeImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
        {
            super(sType, b);
        }
    }
    /**
     * An XML resourceType(@).
     *
     * This is an atomic type that is a restriction of uk.da.dext.SourceType$ResourceType.
     */
    public static class ResourceTypeImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements uk.da.dext.SourceType.ResourceType
    {
        private static final long serialVersionUID = 1L;
        
        public ResourceTypeImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType, false);
        }
        
        protected ResourceTypeImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
        {
            super(sType, b);
        }
    }
}
